<?php
/**
 * 'order' => '订单量',
 * 'view' => '浏览量',
 * 'follow' => '关注数',
 * 'refund' => '退单数',
 */
$stats = $variables['stats'];
$path = drupal_get_path('module', 'shusy_store_stats');
drupal_add_css($path . '/css/shusy_store_stats.css');
?>
<div class="container-fluid">
  <div class="row">
    <div class="col-xs-12">
      <div class="date">
        日期:<?php echo $stats['date']; ?>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-3">
      <div class="stats">
        <?php echo $stats['order']; ?>
      </div>
      <div class="type">
        订单量
      </div>
    </div>
    <div class="col-xs-3">
      <div class="stats">
        <?php echo $stats['view']; ?>
      </div>
      <div class="type">
        浏览量
      </div>
    </div>
    <div class="col-xs-3">
      <div class="stats">
        <?php echo $stats['follow']; ?>
      </div>
      <div class="type">
        关注数
      </div>
    </div>
    <div class="col-xs-3">
      <div class="stats">
        <?php echo $stats['refund']; ?>
      </div>
      <div class="type">
        退单数
      </div>
    </div>
  </div>
</div>
